package com.sxm.yiwei.pinche;

import android.view.View;
import android.widget.Button;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.sxm.yiwei.R;
import com.sxm.yiwei.base.BaseActivity;


public class TuiCangActivity extends BaseActivity implements View.OnClickListener {
    private RelativeLayout rl_back;
    private TextView tv_title;
    private TextView tv_tuicang_style;
    private TextView tv_tuicang_desciption;
    private TextView tv_seats_bought;
    private TextView tv_total_price;
    private TextView tv_phone;
    private TextView tv_host_words;
    private TextView tv_start_pos;
    private TextView tv_end_pos;
    private TextView tv_order_id;
    private TextView tv_start_time;
    private TextView tv_compensation_money;
    private TextView tv_return_back;
    private TextView rb_radio_button;
    private TextView tv_pinche_rule;
    private TextView tv_pinche_count_rule;
    private Button btn_tuicang;
    private TextView tv_fee;
    private TextView tv_space;
    private TextView tv_transfer_fee;
    private TextView tv_baojia;

    @Override
    public void setContentView() {
        setContentView(R.layout.activity_tui_cang);
    }

    @Override
    public void initView() {
        rl_back = (RelativeLayout)findViewById(R.id.rl_back);
        tv_title = (TextView)findViewById(R.id.tv_title);
        tv_tuicang_style = (TextView)findViewById(R.id.tv_tuicang_style);
        tv_tuicang_desciption = (TextView)findViewById(R.id.tv_tuicang_desciption);
        tv_fee = (TextView)findViewById(R.id.tv_fee);
        tv_space = (TextView)findViewById(R.id.text3);
        tv_transfer_fee = (TextView)findViewById(R.id.text11);
        tv_baojia = (TextView)findViewById(R.id.text21);
        tv_phone = (TextView)findViewById(R.id.tv_phone);
        tv_host_words = (TextView)findViewById(R.id.tv_host_words);
        tv_start_pos = (TextView)findViewById(R.id.tv_start_pos);
        tv_end_pos = (TextView)findViewById(R.id.tv_end_pos);
        tv_order_id = (TextView)findViewById(R.id.tv_order_id);
        tv_start_time = (TextView)findViewById(R.id.tv_start_time);
        tv_compensation_money = (TextView)findViewById(R.id.tv_compensation_money);
        tv_return_back = (TextView)findViewById(R.id.tv_return_back);
        rb_radio_button = (TextView)findViewById(R.id.checkbox);
        tv_pinche_rule = (TextView)findViewById(R.id.tv_pinche_rule);
        tv_pinche_count_rule = (TextView)findViewById(R.id.tv_pinche_count_rule);
        btn_tuicang = (Button)findViewById(R.id.btn_tuicang);


    }

    @Override
    public void initListener() {
        rl_back.setOnClickListener(this);
        tv_pinche_rule.setOnClickListener(this);
        tv_pinche_count_rule.setOnClickListener(this);
        btn_tuicang.setOnClickListener(this);
    }

    @Override
    public void initData() {
        tv_title.setText("退仓");
    }

    @Override
    public void onClick(View view) {
        super.onClick(view);
        switch (view.getId()){
            case R.id.tv_pinche_count_rule:
                break;
            case R.id.tv_pinche_rule:
                break;
            case R.id.btn_tuicang:
                break;
        }
    }
}
